package com.ruoyi.edit.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 能力指标对象 tc_ability
 * 
 * @author qiufeng
 * @date 2022-03-10
 */
public class Ability extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private String id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date created;

    /** 是否删除 0：否，1是 */
    @Excel(name = "是否删除 0：否，1是")
    private Integer deleted;

    /** 项目：0活动项目，1触及项目，2超前项目 */
    @Excel(name = "项目：0活动项目，1触及项目，2超前项目")
    private String item;

    /** 标签 */
    @Excel(name = "标签")
    private String label;

    /** 指标名称 */
    @Excel(name = "指标名称")
    private String name;

    /** 时间轴 */
    @Excel(name = "时间轴")
    private String timeAxis;

    /** 结束时间(天) */
    @Excel(name = "结束时间(天)")
    private Long endTime;

    /** 开始时间(天) */
    @Excel(name = "开始时间(天)")
    private Long startTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCreated(Date created) 
    {
        this.created = created;
    }

    public Date getCreated() 
    {
        return created;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }
    public void setItem(String item) 
    {
        this.item = item;
    }

    public String getItem() 
    {
        return item;
    }
    public void setLabel(String label) 
    {
        this.label = label;
    }

    public String getLabel() 
    {
        return label;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTimeAxis(String timeAxis) 
    {
        this.timeAxis = timeAxis;
    }

    public String getTimeAxis() 
    {
        return timeAxis;
    }
    public void setEndTime(Long endTime) 
    {
        this.endTime = endTime;
    }

    public Long getEndTime() 
    {
        return endTime;
    }
    public void setStartTime(Long startTime) 
    {
        this.startTime = startTime;
    }

    public Long getStartTime() 
    {
        return startTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("created", getCreated())
            .append("deleted", getDeleted())
            .append("item", getItem())
            .append("label", getLabel())
            .append("name", getName())
            .append("timeAxis", getTimeAxis())
            .append("endTime", getEndTime())
            .append("startTime", getStartTime())
            .toString();
    }
}
